Assignment 1: Environments and reflex agents

This assignment tests the understanding of simple reflex agents and the ways in which they interact with their environments.

1. (exercise 2.7 from AIMA) Implement a performance measuring environment environment simulator for the vacuum-cleaner world depicted below:

vc.

It should have the following characteristics:

Your implementation should be modular, so that the sensors, actuators and environment characteristics (size, shape, dirt placement etc.) can be changed easily.

2. (Exercise 2.8 from AIMA) Implement a simple refex agent for this environment. Run the environment simulator with this agent for all possible dirt configurations and agent locations. Record the agent's performance score for each configuration and its overall average score.

Language

You may use any progrmaming language available in the CS domain (ask me if you want to use Scheme).

Due Date

Submit your file(s) through the file submitter by midnight on February 6th.